function X = gen_data(M,N,Delta,theta,SNR)
%GEN_DATA Summary of this function goes here
%   Detailed explanation goes here
SNR_linear = 10^(SNR/10);

d = length(theta);

S_signal = rand(d, N) + i*rand(d, N);
S_signal = SNR_linear * S_signal;

N_noise= rand(M, N) + i*rand(M, N);

A_th = gen_a(M,Delta,theta)

X = A_th*S_signal  + N_noise;


end

